package com.redijedi.tapestry.test;

import java.util.ArrayList;
import java.util.List;

/**
 * Generic object for testing certain components.
 * 
 * @author torr
 * 
 */
public class Widget {

	private List<Widget> children = new ArrayList<Widget>();

	final String value;

	public Widget(String value) {
		this.value = value;
	}

	public List<Widget> getChildren() {
		return children;
	}

	public void setChildren(List<Widget> children) {
		this.children = children;
	}

	public String getValue() {
		return value;
	}

	@Override
	public String toString() {
		return value;
	}

}
